# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class DbcmTableStruct(object):

    def __init__(self, table_column=None, primary_index=None, table_info=None, ddl=None, comm_index=None):
        """
        :param table_column: (Optional) 表中全部列信息。
        :param primary_index: (Optional) 主键列名。
        :param table_info: (Optional) 
        :param ddl: (Optional) 建表语句。
        :param comm_index: (Optional) 列表中元素为列信息，类型hashmap，key名称有index_column，index_name，index_type，old_index_name；索引类型有NORMAL，UNIQUE
        """

        self.table_column = table_column
        self.primary_index = primary_index
        self.table_info = table_info
        self.ddl = ddl
        self.comm_index = comm_index
